<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2015/9/11 0011
 * Time: 下午 11:42
 */

namespace Home\Model;

use Think\Model\ViewModel;

class TreestructViewModel extends ViewModel{
    public $viewFields = array(
        'treestruct'=>array('id','pid','lvl','rgt','lft'),
        'treemember'=>array('name','tel','pernumber','_on'=>'treestruct.id=treemember.id')
    );
}
